#ifndef CONVERT_ODB_H_
#define CONVERT_ODB_H_

#include "ParseODB_Export.h"

#include <string>

class PARSEODB_EXPORT ConvertOdb
{
public:
    /**
     * @brief 读取odb文件并转换为指定的文件
     *
     * @param inputFile odb文件路径
     * @param outputDir 输出文件夹路径
     * @param outType 指定转换格式，0-vtk，1-gmsh，3-vtk and gmsh
     */
    static int ConvertOdbToFile(std::string inputFile, std::string outputDir, int outType);
    
protected:
    explicit ConvertOdb();
    ~ConvertOdb();

    static int ConvertOdbToVTK(std::string inputFile, std::string outputDir);
    static int ConvertOdbToGmsh(std::string inputFile, std::string outputDir);

private:
    ConvertOdb(const ConvertOdb&) = delete;
    ConvertOdb& operator=(const ConvertOdb&) = delete;
};

#endif // CONVERT_ODB_H_